import request from '@/utils/request'

// 单位用能统计列表
export function getDeptStatisticsEnergyUsed(params) {
  return request({
    url: '/statistics/analysis/getDeptStatisticsEnergyUsed',
    method: 'get',
    params
  })
}

// 单位统计汇总
export function getDeptStatisticsEnergyTotal(params) {
  return request({
    url: '/statistics/analysis/getDeptStatisticsEnergyTotal',
    method: 'get',
    params
  })
}

// 某单位用能详情
export function getDeptStatisticsEnergyDetail(params) {
  return request({
    url: '/statistics/analysis/getDeptStatisticsEnergyDetailV2',
    method: 'get',
    params
  })
}

// 某单位用能统计
export function getDeptStatisticsEnergyDetailTotal(params) {
  return request({
    url: '/statistics/analysis/getDeptStatisticsEnergyDetailTotal',
    method: 'get',
    params
  })
}

// 楼宇统计列表
export function parkBuildingEnergyStatisticList(params) {
  return request({
    url: '/parkManage/park/parkBuildingEnergyStatisticList',
    method: 'get',
    params
  })
}

// 楼宇表头
export function parkEnergyStatistic(params) {
  return request({
    url: '/parkManage/park/parkEnergyStatistic',
    method: 'get',
    params
  })
}

// 楼宇统计详情
export function parkBuildingDetailEnergyStatisticList(params) {
  return request({
    url: '/parkManage/park/parkBuildingDetailEnergyStatisticList',
    method: 'get',
    params
  })
}

// 楼层统计列表
export function parkBuildingFloorEnergyStatisticList(params) {
  return request({
    url: '/parkManage/park/parkBuildingFloorEnergyStatisticList',
    method: 'get',
    params
  })
}

// 楼层表头
export function parkBuildingFloorEnergyStatistic(params) {
  return request({
    url: '/parkManage/park/parkBuildingFloorEnergyStatistic',
    method: 'get',
    params
  })
}

// 楼层统计详情
export function parkBuildingFloorEnergyStatisticListDetail(params) {
  return request({
    url: '/parkManage/park/parkBuildingFloorEnergyStatisticListDetail',
    method: 'get',
    params
  })
}
